
let HTTP_REQUEST_URL='',
	HTTP_REQUEST_URL_2='',
	IMG_PATH='',
	HOST='';   
	
let WSS_SERVER_URL='';
if(process.env.NODE_ENV==='development'){
	let isDev=1; // 1 测试  2 生产
	if(isDev==1){
		HOST="https://xmjz.pher.cn";
		HTTP_REQUEST_URL="https://xmjz.pher.cn:1443";
		WSS_SERVER_URL='wss://xmjz.pher.cn/wss';
		IMG_PATH='https://xmjz.pher.cn/api/image/image?img=';
	}else{
		HOST="https://xmjz.isca.cn";
		HTTP_REQUEST_URL="https://xmjz.isca.cn:1443";
		WSS_SERVER_URL='wss://xmjz.isca.cn/wss';
		IMG_PATH='https://xmjz.isca.cn/api/image/image?img='; 
	}	 
}else {
	let isDev=2; // 1 测试  2 生产
	
	if(isDev==1){
		HOST="https://xmjz.pher.cn";
		HTTP_REQUEST_URL="https://xmjz.pher.cn:1443";
		WSS_SERVER_URL='wss://xmjz.pher.cn/wss';
		IMG_PATH='https://xmjz.pher.cn/api/image/image?img=';
	}else{
		HOST="https://xmjz.isca.cn";
		HTTP_REQUEST_URL="https://xmjz.isca.cn:1443";
		WSS_SERVER_URL='wss://xmjz.isca.cn/wss';
		IMG_PATH='https://xmjz.isca.cn/api/image/image?img='; 
	} 
}

 
module.exports={		   
	HTTP_REQUEST_URL,   // 请求api地址	
	APP_NAME:'项目管理软件',
	WSS_SERVER_URL,
	HOST,
	IMG_PATH	
}
